<?php
/**
 * Created by PhpStorm.
 * User: 27642
 * Date: 2017/12/24
 * Time: 17:18
 */
namespace app\api\model;

class SystemModel extends BaseModel
{
    protected  $table = 'os_system';

   public function getInfoByName($name)
   {
       return $this->where(['name' => $name])->find();
   }
}